<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'client.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="js/ext/resources/css/ext-all.css"/>
	<link rel="stylesheet" type="text/css" href="js/ext/resources/css/ext-patch.css"/>
	<script type="text/javascript" src="js/ext/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="js/ext/ext-all.js"></script>
	<style type="text/css">
	#client_list{
	font-size:12;
	}
	</style>
<script type="text/javascript">
<!-- 
Ext.onReady(function(){ 
var cm=new Ext.grid.ColumnModel([ 
{header:'序号',dataIndex:'id',width:60}, 
{header:'债项号',dataIndex:'cid',width:60}, 
{header:'贷款类型',dataIndex:'ltype',width:80},
{header:'贷款溯源',dataIndex:'lsrc',width:80},
{header:'贷款额度',dataIndex:'line',width:100},
{header:'客户用款金额',dataIndex:'money',width:100},
{header:'债项到期日',dataIndex:'deadline',width:100},
{header:'债务人保证人关系',dataIndex:'relation',width:150},
{header:'风险缓释类型',dataIndex:'rtype',width:100},
]
); 
var data=[ 
['1','FAC1','出口押汇','债务重组','20,000,000.00','7,777,777.00','2012年9月8日','为同一母公司控股的下属公司','质押'], 
['2','FAC2','出口押汇','借新还旧','100,000,000.00','90,000,000.00','2020年6月10日','保证人为独立第三方','抵押'], 
['3'], 
['4'], 
['5'],
['6'] 
]; 
var ds=new Ext.data.Store({ 
proxy:new Ext.data.MemoryProxy(data), 
reader:new Ext.data.ArrayReader({},[ 
{name:'id'}, 
{name:'cid'}, 
{name:'ltype'},
 {name:'lsrc'},
 {name:'line'},
 {name:'money'},
 {name:'deadline'},
 {name:'relation'},
 {name:'rtype'}
]) 
}); 
ds.load(); 
var grid=new Ext.grid.GridPanel({ 
renderTo:"contract_list", 
stripeRows:true,//斑马线效果 
store: ds, 
height:400, 
cm:cm 
}); 
}); 
// --></script> 
  </head>
  
  <body>
  <div id="position" align="left"><font size="2">当前位置： 
<a href="" style="text-decoration: none;">首页</a>&gt;&gt;债项分析&gt;&gt;合同信息</font></div>
<hr />
    <div>
    <br/>
    <table width="200">
    <tr>
    <td><font size="2"><a href="view/obligation/viewOblication_Basic.jsp">查看</a></font></td>
    <td><font size="2"><a href="view/obligation/addContractInfo.jsp">新增</a></font></td>
    <td><font size="2"><a href="">编辑</a></font></td>
    <td><font size="2"><a href="">删除</a></font></td>
    </tr>
    </table>
    </div>
    <br/>
    <div id="contract_list"></div>
</body>
</html>
